﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/bug/Bug.master" AutoEventWireup="true" CodeFile="AddingBug.aspx.cs" Inherits="admin_bug_AddingBug" %>

<asp:Content ID="Content1" ContentPlaceHolderID="SettingHeading" runat="Server">
    Submit a New Bug
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TheForm" runat="Server">
    <!-- result message -->
    <div class="a-field">
        <label>
            <h2>
                <asp:Literal ID="mess" runat="server"></asp:Literal></h2>
        </label>
    </div>
    <!--Creating dropdown list to choose project ID-->
    <div class="a-field">
        <label>Project Name <span class="vtip a-tooltip" title="Choose the project you want to submit this bug to">(?)</span></label>
        <div class="a-select">
            <asp:DropDownList runat="server" ID="dllProjectName">
            </asp:DropDownList>
        </div>
    </div>
    <!--Creating dropdown list to choose type of bug-->
    <div class="a-field">
        <label>Type of Bug <span class="vtip a-tooltip" title="Choose the bug type, see <strong>Bug Type</strong> section of Help page for more info">(?)</span></label>
        <div class="a-select">
            <asp:DropDownList runat="server" ID="DDLTypeOfBug">
            </asp:DropDownList>
        </div>
    </div>
    <!--Creating text area to enter summary of bug-->
    <div class="a-field">
        <label>Summary <span class="vtip a-tooltip" title="A short description of bug so that your team members can identify the bug easily. Tip: think of this like a name for the bug.">(?)</span></label>
        <div class="a-textarea">
            <asp:TextBox TextMode="MultiLine" ID="textSummary" runat="server" Height="60px"></asp:TextBox></div>
    </div>
    <!--Creating dropdown list to choose  Reproducability-->
    <div class="a-field">
        <label>Reproducability <span class="vtip a-tooltip" title="The ability to re-create bug">(?)</span></label>
        <div class="a-select">
            <asp:DropDownList runat="server" ID="dllReproducability">
            </asp:DropDownList>
        </div>
    </div>
    <!--Creating text box to enter the bugFoundInversion-->
    <div class="a-field">
        <label>Bug Found In Version <span class="vtip a-tooltip" title="The version of application that you found this bug, not to be confused with the version bug is fixed">(?)</span></label>
        <div class="a-text">
            <asp:TextBox ID="txtInVersion" runat="server"></asp:TextBox></div>
    </div>
    <!--Creating text box to enter the BugFoundInComponent-->
    <div class="a-field">
        <label>Bug Found In Component <span class="vtip a-tooltip" title="In which part of application did this bug happen?">(?)</span> </label>
        <div class="a-text">
            <asp:TextBox ID="txtFoundInComponent" runat="server"></asp:TextBox></div>
    </div>
    <!--Creating text area to enter reproduction steps of bug-->
    <div class="a-field">
        <label>Reproduction Steps <span class="vtip a-tooltip" title="Detailed instruction to re-create bug in ordered steps">(?)</span></label>
        <div class="a-textarea">
            <asp:TextBox TextMode="MultiLine" ID="txtReproductionSteps" runat="server" Height="60px"></asp:TextBox></div>
    </div>
    <!--Creating dropdown list to choose severity-->
    <div class="a-field">
        <label>Severity <span class="vtip a-tooltip" title="How the bug affects overrall status of the application">(?)</span></label>
        <div class="a-select">
            <asp:DropDownList runat="server" ID="dllSeverity">
            </asp:DropDownList>
        </div>
    </div>
    <!--Creating dropdown list to choose priority-->
    <div class="a-field">
        <label>Priority <span class="vtip a-tooltip" title="Decide whether bug should be fixed soon or later">(?)</span></label>
        <div class="a-select">
            <asp:DropDownList runat="server" ID="dllPriority">
            </asp:DropDownList>
        </div>
    </div>
    <!--Creating text area to enter description of bug-->
    <div class="a-field">
        <label>Description <span class="vtip a-tooltip" title="Detailed description of bug">(?)</span></label>
        <div class="a-textarea">
            <asp:TextBox TextMode="MultiLine" ID="txtDescription" runat="server" Height="60px"></asp:TextBox></div>
    </div>
    <!-- submit button -->
    <div class="a-field a-buttons">
        <asp:Button ID="btnCreate" runat="server" Text="Create" CssClass="a-button" OnClick="btnCreate_Click" />
    </div>
</asp:Content>